package com.example.user.myhjjf_app.presenter;

import com.example.user.myhjjf_app.R;
import com.example.user.myhjjf_app.model.Model_Banka;
import com.example.user.myhjjf_app.model.Model_Content;
import com.zhy.adapter.abslistview.ViewHolder;
import com.zhy.adapter.abslistview.base.ItemViewDelegate;

/**
 * Created by User on 2017/8/31.
 */

public class Presenter_Ptn_adapter implements ItemViewDelegate<Model_Banka.ValueBean> {
    @Override
    public int getItemViewLayoutId() {
        return R.layout.listitem_leibia_item;
    }

    @Override
    public boolean isForViewType(Model_Banka.ValueBean item, int position) {
        return true;
    }

    @Override
    public void convert(ViewHolder holder, Model_Banka.ValueBean valueBean, int position) {
        holder.setText(R.id.tv_name,"板卡 : "+valueBean.getName());
    }
}
